import request from "@/utils/request";
const LIVE_BASE_URL = "/live";
// 获取token
export const getObtainToken = function (data: ReqGetObtainToken) {
  return request({
    url: `${LIVE_BASE_URL}/trainingLive/obtainToken`,
    method: "post",
    data,
  });
};
//获取token
interface ReqGetObtainToken {
  userBizId: string; //用户唯一id
  channelName: string; //频道房间名称
  uid: string;
}
